package cn.ujn.medicalbackend.service;

import cn.ujn.medicalbackend.domain.CompanyPolicy;
import cn.ujn.medicalbackend.request.CompanyPolicyAddRequest;
import cn.ujn.medicalbackend.request.CompanyPolicyDeleteRequest;
import cn.ujn.medicalbackend.request.CompanyPolicyUpdateRequest;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author 15926
* @description 针对表【company_policy】的数据库操作Service
* @createDate 2024-10-26 14:41:20
*/
public interface CompanyPolicyService extends IService<CompanyPolicy> {
    Page<CompanyPolicy> companyPolicyPageTransfer(Page<CompanyPolicy> tempPage);
    long addCompanyPolicy(CompanyPolicyAddRequest companyPolicyAddRequest, HttpServletRequest request);
    boolean updateCompanyPolicy(CompanyPolicyUpdateRequest companyPolicyUpdateRequest, HttpServletRequest request);
    boolean deleteCompanyPolicy(CompanyPolicyDeleteRequest companyPolicyDeleteRequest, HttpServletRequest request);
}
